﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Wheather.ascx.cs" Inherits="Pub_Module_Wheather" %>

<script language="JavaScript" src="http://www.vnexpress.net/Service/Weather_Content.js"></script>

<script language="javascript" type="text/javascript">
    $(window).load(function() {             
                               $("#WeatherID").show();
                               $html="";    
                               $html+="<table border='0' cellpadding='0' cellspacing='0' width='100%' class='lbl_Normal2'>" ;
                               $html+='<tr><th style="text-align:left;">TP.HCM</th><td>' + dHoChiMinh + '<sup>o</sup>C</td></tr>';
                               $html+='<tr><th style="text-align:left">' + vHanoi + '</th><td>' + dHanoi + '<sup>o</sup>C</td></tr>';
                               $html+='<tr><th style="text-align:left">' + vHaiPhong + '</th><td>' + dHaiPhong + '<sup>o</sup>C</td></tr>';
                               $html+='<tr><th style="text-align:left">' + vDaNang + '</th><td>' + dDaNang + '<sup>o</sup>C</td></tr>';
                               $html+="</table>" ;
                               $("#<%= divData.ClientID%>").html($html);   
                    
      });    
</script>

<div style="padding: 5px 0px 5px 0px">
    <div class='div_skin-tango' style='padding: 0px 2px 10px 2px; text-align: center; display:none' id="WeatherID">
        <ul class='fixUlBlock'>
            <li style='padding-bottom: 5px'> <div class='coverlblTitleProduct'><span class='lblTitleProduct'>DỰ BÁO THỜI TIẾT</span></div></li>
            <li>
                <asp:Panel ID="divData" runat="server" Style="text-align: center;">
                </asp:Panel>
            </li>
        </ul>
    </div>
</div>
